import parse from './parse'

let templateStr = `<div>
  <h3>你好3</h3>
  <ul class=" list aaa bbb "  id="foo"   style=" color: green "   >
      <li>a</li>
      发发发
      <li>b</li>
      888
      <li>c</li>
      <li>111</li>
  </ul>
  <div>
    <div>hhh</div>
  </div>
  </div>`

let ast = parse(templateStr)

console.log(ast)